package com.draw.webinterface;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebService;

import com.draw.core.User;

@WebService(targetNamespace="http://draw.some.com/", serviceName="UserService", name="UserService")
public interface UserInterface {
	@WebMethod()
	public List<User> getUserByUsername(String username);
	@WebMethod()
	public User getUser(String username, String password);
	@WebMethod()
	public User createUser(User user);
	@WebMethod()
	public User updateUser(User user);
	@WebMethod()
	public List<User> getAll();
	@WebMethod()
	public List<User> getAvailableUserToDraw(User user);
}
